package com.hxgis.statisticanalysis.intelligentIndicator.vo;

import com.hxgis.export.resource.TableRow;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 赵恒
 * @date 2022/12/13
 * 气象服务流程已解决工单统计
 */
@Data
@ApiModel
public class CompletedWorkOrderStatistic implements TableRow {
    /**
     * 工单模型
     */
    @ApiModelProperty(value = "工单模型")
    private String workOrderModelName;

    /**
     * 工单完成数
     */
    @ApiModelProperty(value = "工单完成数")
    private String completedWorkOrderNum;

    /**
     * 总完成时间(h)
     */
    @ApiModelProperty(value = "总完成时间(h)")
    private String totalCompletedHours;

    /**
     * 最长处理时间(h)
     */
    @ApiModelProperty(value = "最长处理时间(h)")
    private String longestHandleHours;

    /**
     * 最短处理时间(h)
     */
    @ApiModelProperty(value = "最短处理时间(h)")
    private String shortestHandleHours;

    /**
     * 平均处理时间(h)
     */
    @ApiModelProperty(value = "平均处理时间(h)")
    private String averageHandleHours;

    @Override
    public String[] rowData() {
        return new String[]{workOrderModelName, completedWorkOrderNum, totalCompletedHours, longestHandleHours, shortestHandleHours, averageHandleHours};
    }

    @Override
    public int templateRows() {
        return 1;
    }
}
